﻿using System;
using System.ComponentModel;

namespace Tools.Common
{
    public class EnumClass
    {
        /// <summary>
        /// 是否
        /// </summary>
        public enum Whether
        {
            /// <summary>
            /// 是否
            /// </summary>
            [Description("否")]
            No = 'N',

            /// <summary>
            /// 是
            /// </summary>
            [Description("是")]
            Yes = 'Y'
        }

        /// <summary>
        /// 操作类型
        /// </summary>
        public enum OperationType
        {
            /// <summary>
            /// 注册
            /// </summary>
            [Description("注册")]
            Registered = 0,

            /// <summary>
            /// 登录
            /// </summary>
            [Description("登录")]
            Login = 1,

            /// <summary>
            /// 查看
            /// </summary>
            [Description("查看")]
            Look = 2,

            /// <summary>
            /// 点赞
            /// </summary>
            [Description("点赞")]
            Praise = 3,

        }
    }
}
